package com.yupi.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("support_grinding_record")
public class SupportGrindingRecord implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("record_date")
    private LocalDate recordDate;

    @TableField("process_sheet_no")
    private String processSheetNo;

    @TableField("product_name")
    private String productName;

    @TableField("start_time")
    private LocalDateTime startTime;

    @TableField("incoming_weight")
    private BigDecimal incomingWeight;

    @TableField("finished_weight")
    private BigDecimal finishedWeight;

    @TableField("support_weight")
    private BigDecimal supportWeight;

    @TableField("grinding_loss")
    private BigDecimal grindingLoss;

    @TableField("scrap_quantity")
    private Integer scrapQuantity;

    @TableField("scrap_weight")
    private BigDecimal scrapWeight;

    @TableField("finish_time")
    private LocalDateTime finishTime;

    @TableField("operator")
    private String operator;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}